package acn.spring.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

import acn.spring.core.interceptor.MyAspect;

@Import(DataConfig.class)
@ComponentScan("acn.spring.service")
@EnableAspectJAutoProxy
@Configuration
public class AppConfig {

	@Bean
	public MyAspect myAspect() {
		return new MyAspect();
	}

}
